System, method, and article of manufacture for controlling operation of an electrical power generation system

ABSTRACT

A system, a method, and an article of manufacture for controlling operation of an electrical power generation system are provided. The electrical power generation system has a plurality of electrical generators electrically coupled to an electrical grid. The method includes obtaining a first output parameter value associated with the electrical power generation system. The method further includes determining an error value indicative of a difference between the first output parameter value and a desired output parameter value. The method further includes determining a first gain value based on at least one of the first output parameter value and a time-varying operational parameter of the electrical power generation system. The method further includes determining a first power value based on the error value and the first gain value. The method further includes determining a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value. The method further includes determining a second power value based on the error value and the second gain value. The method further includes generating a desired power command for the electrical power generation system based on the first and second power values.

BACKGROUND OF THE INVENTION

A wind farm utilizes a plurality of wind turbines to generate electrical power. The wind farm is generally electrically coupled at a point of interconnection to an electrical grid.

A control system is utilized to control the electrical output from a wind farm to meet utility requirements at the point of interconnection with an electrical grid of a utility company. However, a well-known problem associated with a conventional control system is that the control system is unable to maintain consistent dynamic performance of output voltage or reactive power at a desired level at the point of interconnection to the electrical grid, due to changing wind turbine conditions and electrical grid conditions such as (i) a variable number of turbines on line, (ii) changes in impedance of the electrical grid, and (iii) a switched capacitor or reactor banks.

The inventors herein have recognized a need for an improved control system and method for controlling an electrical power generation system, such as a wind farm.

BRIEF DESCRIPTION OF THE INVENTION

A method for controlling operation of an electrical power generation system in accordance with an exemplary embodiment. The electrical power generation system has a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection. The method includes obtaining a first output parameter value associated with the electrical power generation system. The method further includes determining an error value indicative of a difference between the first output parameter value and a desired output parameter value. The method further includes determining a first gain value based on at least one of the first output parameter value and a time-varying operational parameter of the electrical power generation system. The method further includes determining a first power value based on the error value and the first gain value. The method further includes determining a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value. The method further includes determining a second power value based on the error value and the second gain value. The method further includes generating a desired power command for the electrical power generation system based on the first and second power values.

A system for controlling operation of an electrical power generation system in accordance with another exemplary embodiment is provided. The electrical power generation system has a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection. The system includes a measurement device configured to generate at least a first signal indicative of a measured output parameter value of the electrical power generation system. The system further includes a controller operably communicating with the measurement device. The controller is configured to determine an error value indicative of a difference between the measured output parameter value and a desired output parameter value. The controller is further configured to determine a first gain value based on at least one of the measured output parameter value and a time-varying operational parameter of the electrical power generation system. The controller is further configured to determine a first power value based on the error value and the first gain value. The controller is further configured to determine a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value. The controller is further configured to determine a second power value based on the error value and the second gain value. The controller is further configured to generate a desired power command for the electrical power generation system based on the first and second power values.

An article of manufacture in accordance with another exemplary embodiment is provided. The article of manufacture includes a computer storage medium having a computer program encoded therein for controlling operation of a electrical power generation system. The electrical power generation system has a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection. The computer storage medium includes code for obtaining a first output parameter value associated with the electrical power generation system. The computer storage medium further includes code for determining an error value indicative of a difference between the first output parameter value and a desired output parameter value. The computer storage medium further includes code for determining a first gain value based on at least one of the first output parameter value and a time-varying operational parameter of the electrical power generation system. The computer storage medium further includes code for determining a first power value based on the error value and the first gain value. The computer storage medium further includes code for determining a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value. The computer storage medium further includes code for determining a second power value based on the error value and the second gain value. The computer storage medium further includes code for generating a desired power command for the electrical power generation system based on the first and second power values.

Other systems and/or methods according to the embodiments will become or are apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional systems and methods be within the scope of the present invention, and be protected by the accompanying claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an electrical power generation system having a wind farm and an electrical grid in accordance with an exemplary embodiment;

FIGS. 2-4 are flowcharts of a method for controlling the wind farm of FIG. 1 in accordance with another exemplary embodiment;

FIGS. 5-6 are flowcharts of a method for controlling the wind farm of FIG. 1 in accordance with another exemplary embodiment;

FIG. 7 is a schematic of an exemplary signal response of a measured output voltage level (Vpoi) and a desired output voltage level (Vr) of the wind farm;

FIG. 8 is a schematic of an exemplary signal response of a desired net power command (Q_(c)) utilized to control the wind farm;

FIGS. 9 and 10 are schematics of exemplary signal responses corresponding to first and second power values (θ₁), (θ₂) utilized to control the wind farm;

FIG. 11 is a flowchart of a method for determining parameters associated with an electrical grid;

FIG. 12 is a schematic illustrating estimated grid reactance values and grid resistance values; and

FIG. 13 is a schematic illustrating estimated grid voltage values.

DETAILED DESCRIPTION OF THE INVENTION

Referring to FIG. 1, an electrical power generation system 10 for generating electrical power is illustrated. The electrical power generation system 10 includes a wind farm 11 electrically coupled to an electrical grid 12. The electrical grid 12 is utilized to transfer electrical power from the wind farm 11 to electrical loads. In alternative exemplary embodiments, the electrical power generation system 10 can include at least one of micro-turbines, solar cell arrays, and conventional electrical generators, to replace the wind farm 11.

The wind farm 11 is provided to generate electrical power utilizing wind energy. The wind farm 11 includes wind turbines 14, 15, 16, a collector system 18, a transformer 20, wind turbine controllers 24, 26, 28, a measurement device 30, and a main controller 32. It should be noted that a number of wind turbines utilized in the wind farm 11 can vary. For example, the number of wind turbines in the wind farm 11 can be greater than three wind turbines or less than or equal to three wind turbines.

The wind turbines 14, 15, 16 are provided to generate voltages and currents utilizing wind energy. The wind turbines 14, 15, 16 are operably controlled utilizing the wind turbine controllers 24, 26, 28, respectively, which communicate with the wind turbines 14, 15, 16, respectively.

The wind turbine controllers 24, 26, 28 are configured to generate command signals which control operation of the wind turbines 14, 15, 16, respectively. Further, the wind turbine controllers 24, 26, 28 are provided to measure operational parameters associated with the wind turbines 14, 15, 16 respectively. The wind turbine controllers 24, 26, 28 operably communicate with the main controller 32.

The collector system 18 is electrically coupled to the wind turbines 14, 15, 16 and routes voltages and currents from each of the turbines to the power transformer 20. The power transformer 20 receive the voltages and currents from the wind turbines 14, 15, 16 and outputs a voltage and a current having desired characteristics onto the electrical grid 12. For example, the power transformer 20 can output a voltage having a desired amplitude and a current having a desired amplitude onto the electrical grid 12.

The measurement device 30 is electrically coupled to a point of interconnection 19 between the transformer 20 and the electrical grid 12. The measurement device 30 is configured to measure electrical parameters associated with the electrical grid. For example, the measurement device 30 is configured to measure a voltage level (Vpoi) at the point of interconnection 19, a real power level (Pn) at the point of interconnection 19, and a reactive power level (Qn) at the point of interconnection 19. It should be noted that the measurement device 30 can measure parameters on either side of the transformer 20.

The main controller 32 is provided to control operation of the wind turbines 14, 15, 16 based on measured or estimated parameter values at the point of interconnection 19 associated with either the wind farm 11 or the electrical grid 12. The main controller 32 is configured to generate command messages that are received by the wind turbine controllers 24, 26, 28 for controlling operation of the wind turbines 14, 15, 16, respectively. The main controller 32 includes a central processing unit (CPU) 40, a read-only memory (ROM) 42, a volatile memory such as a random access memory (RAM) 44 and an input/output (I/O) interface 46. The CPU 40 operably communicates with the ROM 42, the RAM 44, and the I/O interface 46. The computer readable media including ROM 42 and RAM 44 may be implemented using any of a number of known memory devices such as PROMs, EPROMs, EEPROMS, flash memory or any other electric, magnetic, optical or combination memory device capable of storing data, some of which represent executable instructions used by the CPU 40. Further, the I/O interface 46 operably communicates with the wind turbine controllers 24, 26, 28.

Referring to FIGS. 2-4, a method for controlling the operation of the wind farm 11 will now be explained. The method can be implemented utilizing software algorithms stored in a computer storage medium and executed by the main controller 32 and the wind turbine controllers 24, 26, and 28. It should be noted that in alternative exemplary embodiments, the foregoing method could also be implemented to control one or more micro-turbines, solar cell arrays, and fossil-fuel electrical generators, instead of the wind farm 11.

At step 60, the measurement device 30 transmits a first signal indicative of an output voltage of the wind farm 11 to the main controller 32.

At step 62, the main controller 32 receives the first signal and determines a measured output voltage level (Vpoi) of the wind farm 11 based on the first signal.

At step 63, the main controller 32 calculates a target output voltage level (Vr) utilizing the following equation:

${V_{r} = {\int{\left( {{{- \frac{1}{T_{r}}} \cdot V_{r}} + {\frac{1}{T_{r}}V_{C}}} \right){\mathbb{d}t}}}},{where}$

-   -   (Tr) corresponds to a predetermined time constant set by an         operator;     -   (Vr) corresponds to a target output voltage of the wind farm 11;         and     -   (Vc) corresponds to the desired steady-state output voltage         value of the wind farm 11.         It should be noted that in an alternate exemplary embodiment,         instead of utilizing the foregoing equation to calculate (Vr),         the following equation may be utilized to calculate (Vr):         V_(r)=V_(c).

At step 64, each wind turbine controller in the wind farm 11 transmits a second signal to the main controller 32 indicating whether a respective wind turbine is operational or not operational. For example, the wind turbine controllers 24, 26, 28 transmit second signals to the main controller 32 indicating whether wind turbines 14, 15, 16 respectively are operational or not operational. A wind turbine is operational when the wind turbine generates electrical power (e.g., real or reactive power) that is transmitted through the transformer 22 to the electrical grid 12.

At step 66, the main controller 32 receives each of the second signals and determines a number of operational wind turbines in the wind farm 11 based on the second signals.

At step 68, the main controller 32 calculates a voltage error value (Verror) utilizing the following equation: Verror=Vr−Vpoi, where (Vr) corresponds to a desired output voltage level of the wind farm 11.

At step 70, the main controller 32 calculates an integral gain value (Kiv) utilizing the following equation:

${{Kiv} = \frac{Vpoi}{{Xgrid} \cdot {Twv}}},{where}$

-   -   (Xgrid) corresponds to a known or estimated impedance of the         electrical grid 12; and     -   (Twv) corresponds to a desired time response to the wind farm         11.

At step 72, the main controller 32 calculates a first power value (Q₁) utilizing the following equation: Q₁=∫(K_(iv)·V_(error))dt, when a desired net power command (Q_(c)) is in a range between an upper limit value (Q max)and a lower limit value (Q min). Alternately, the main controller 32 calculates the first power (Q₁) utilizing the following equation: Q₁=∫(0)dt when (Q_(c)) is not in the range between the upper limit value (Q max) and the lower limit value (Q min).

At step 74, the main controller 32 calculates a proportional gain value (Kpv) utilizing the following equation:

${{Kpv} = {\frac{{{Xwtg}/N} + {Xcollector} + {Xgrid}}{{Kqi}/N}{Kiv}}},{where}$

-   -   (Xwtg) corresponds to an internal impedance of a wind turbine;     -   (N) corresponds to a number of operational wind turbines;     -   (Xcollector) corresponds to an impedance of the collector system         18 of the wind farm 11;     -   (Xgrid) corresponds to an impedance of the electrical grid 12;     -   (Kqi) is a gain value utilized by a wind turbine controller.

At step 76, the main controller 32 calculates a second power value (Q₂) utilizing the following equation:

${Q_{2} = {\int{\left( {{{- \frac{1}{T_{V}}}Q_{2}} + {\frac{K_{pV}}{T_{V}}V_{error}}} \right){\mathbb{d}t}}}},$ where (T_(V)) corresponds to a predetermined time constant that is typically smaller than the desired closed loop voltage response time interval.

At step 78, the main controller 32 generates a desired total reactive power command (Qtotal) for the wind farm utilizing the following equation: Q_(total)=Q₁+Q₂.

At step 80, the main controller 32 generates desired net power command (Qc) for each wind turbine 11 in the wind farm 11 utilizing the following equation:

$Q_{c} = \frac{Q_{total}}{N}$ when Q_(c) is in a range between the upper limit value (Q max) and the lower limit value (Q min).

At step 82, the main controller 32 transmits the desired net reactive power command (Qc) to each wind turbine controller of the wind farm 11 to induce the wind farm 11 to generate an output voltage that approaches the desired output voltage level (Vc) at the point of interconnection 19. After step 82, the method returns to step 60.

Referring to FIGS. 5-6, another method for controlling the operation of the wind farm 11 will now be explained. The method can be implemented utilizing software algorithms stored in a computer storage medium and executed by the main controller 32 and the wind turbine controllers 24, 26, and 28. It should be noted that in alternative exemplary embodiments, the following method could also be implemented to control one or more micro-turbines, solar cell arrays, and fossil-fuel electrical generators, instead of the wind farm 11.

At step 90, the measurement device 30 transmits a first signal indicative of an output voltage of a wind farm 11 to the main controller 32.

At step 92, the main controller 32 receives the first signal and determines a measured output voltage level (Vpoi) of the wind farm 11 based on the first signal.

At step 94, the main controller 32 calculates a target output voltage level (Vr) utilizing the following equation:

${V_{r} = {\int{\left( {{{- \frac{1}{T_{r}}} \cdot V_{r}} + {\frac{1}{T_{r}}V_{C}}} \right){\mathbb{d}t}}}},{where}$

-   -   (Tr) corresponds to a predetermined time constant set by an         operator;     -   (Vr) corresponds to a target output voltage of the wind farm 11;         and     -   (Vc) corresponds to the desired steady-state output voltage         value of the wind farm 11.         It should be noted that in an alternate exemplary embodiment,         instead of utilizing the foregoing equation to calculate (Vr),         the following equation may be utilized to calculate (Vr):         V_(r)=V_(c).

At step 96, the main controller 32 calculates a voltage error value (Verror) utilizing the following equation: Verror=Vpoi−Vr.

At step 98, the main controller 32 calculates a first power value θ₁ utilizing the following equation: ∫₁=∫(−y₁·V_(error)·V_(r))dt when the desired net power command (Q_(c)) is in the range between the upper limit value (Q max) and the lower limit value (Q min). Alternately, the main controller 32 calculates the first power (Q₁) utilizing the following equation: Q₁=∫(0)dt, when (Q_(c)) is not in the range between the upper limit value (Q max) and the lower limit value (Q min), where

-   -   (y₁) corresponds to a gain value set by the operator to obtain         the desired closed loop response behavior; and     -   (Vr) corresponds to a target output voltage level of the wind         farm 11.

At step 98, the main controller 32 calculates a second power value θ₂ utilizing the following equation: θ₂=∫(−y₂·V_(error)·V_(poi)−ρ·∫₂)dt, where

-   -   (y₂) corresponds to a gain value set by the operator to obtain         the desired closed loop response behavior; and     -   ρ corresponds to a constant value set by the operator to obtain         the desired closed loop response behavior.

At step 102, the main controller 32 generates the desired net reactive power command (Qc) for each wind turbine in the wind farm 11 utilizing the following equation: Q_(c)=θ₂·V_(poi)+θ₁·V_(r), where (Q_(c)) is in the range between the upper limit value (Q max) and the lower limit value (Q min).

At step 104, the main controller 32 transmits the desired net power command (Qc) to each wind turbine controller of the wind farm 11 to induce the wind farm 11 to generate an output voltage that approaches the desired output voltage level (Vc). After step 104, the method returns to step 90.

Referring to FIGS. 7-10, the exemplary signal responses 116, 118 correspond to a first power value θ₁ and a second power value θ₂ as a function of time. The first power value θ₁ and second power value θ₂ are utilized to calculate a desired net power command (Qc). The exemplary signal response 114 corresponds to the net power command (Qc) to induce the measured output voltage level (Vpoi) at the point of interconnection 19 to approximate the target output voltage level (Vr). As shown, the exemplary signal response 112 corresponds to the output voltage level (Vpoi) that closely approximate the exemplary signal response 110.

A brief explanation of the mathematical equations for estimating parameter values associated with the electrical grid 12 will now be explained. A plurality of measurements at the point of interconnection 19 are utilized to estimate parameter values associated with the electrical grid 12. For example, a set of “n” data measurement values of a real power level (Pn), a reactive power level (Qn), and an grid voltage level (Vn) also referred to as (Vpoi) obtained at the point of interconnection 19, is used to determine parameter values for the simplified model of the electrical grid 12. The simplified model of the electrical grid 12 is defined by a phasor voltage (V_(g)·e^(jθ)) indicative of a positive sequence voltage of an infinite bus in the electrical grid 19 and an impedance (Z_(g)=r+jx) where “r” corresponds to a resistance value associated with the electrical grid 19 and “x” corresponds to a reactance value associated with the electrical grid 19. The relationship between these two terms can be stated mathematically utilizing the following equation:

${P_{n} + {jQ}_{n}} = \frac{V_{n}^{2} - {{V_{n} \cdot V_{g}}{\mathbb{e}}^{- {j\theta}}}}{r - {jx}}$

By separating the real and complex terms of the foregoing equation and then eliminating θ, the following equation is obtained: V _(n) ⁴−2·r·P _(n) ·V _(n) ²−2·x·Q _(n) ·V _(n) ²+(r ² +x ²)·(P _(n) ² +Q _(n) ²)−V _(n) ² ·V _(g) ²=0

The foregoing equation is represented in matrix form as:

$V_{n}^{4} = {\begin{bmatrix} {{2 \cdot P_{n} \cdot V_{n}^{2}} - {r \cdot \left( {P_{n}^{2} + Q_{n}^{2}} \right)}} & {{2 \cdot Q_{n} \cdot V_{n}^{2}} - {x \cdot \left( {P_{n}^{2} + Q_{n}^{2}} \right)}} & V_{n}^{2} \end{bmatrix}\begin{bmatrix} r \\ x \\ V_{g}^{2} \end{bmatrix}}$

Next, the three matrices Yn, Hn, and U are defined as shown below:

Y_(n) = V_(n)⁴ $H_{n} = \begin{bmatrix} {{2 \cdot P_{n} \cdot V_{n}^{2}} - {r \cdot \left( {P_{n}^{2} + Q_{n}^{2}} \right)}} & {{2 \cdot Q_{n} \cdot V_{n}^{2}} - {x \cdot \left( {P_{n}^{2} + Q_{n}^{2}} \right)}} & V_{n}^{2} \end{bmatrix}$ $U = \begin{bmatrix} r \\ x \\ V_{g}^{2} \end{bmatrix}$ Next, a least squares estimation technique known to those skilled in the art is utilized to determine the unknown parameter values (r, x, and V_(g)). For example, a batch mode equation can be utilized to determine the unknown parameter values (r, x, and Vg), as shown below:

$U_{k} = {\left\lbrack {\sum\limits_{n = 1}^{k}{H_{n}^{T} \cdot H_{n}}} \right\rbrack^{- 1}{\sum\limits_{n = 1}^{k}{H_{n}^{T} \cdot Y_{n}}}}$

It should be noted that since r and x also appear in the H_(n) term, an iterative solution is required. In general, a small random disturbance signal injection is required for convergence of the solution for the parameter values (r, x, and Vg). It should be further noted that other mathematical techniques such as recursive estimation techniques and Kalman filtering to achieve an optimal tracking of parameters in the presence of noise can be utilized.

Referring to FIGS. 12 and 13, a plot 40 illustrates convergence of the reactance value (x) associated with the electrical grid 12, by iteratively calculating (U_(k)). Further, a plot 141 illustrates convergence of the resistance (r) of the electrical grid 12, by iteratively calculating (U_(k)). Finally, the plot 142 illustrates convergence of the voltage level (Vg), by iteratively calculating (U_(k)).

Referring to FIG. 11, a method for determining parameter values associated with the electrical grid 12 utilizing the main controller 32 and the measurement device 30 will be explained. The method can be implemented utilizing software algorithms stored in a computer storage medium executed by the main controller 32.

At step 130, the measurement device 30 transmits a first plurality of signals indicative of real power levels (Pn) at the point of interconnection 19 of the wind farm 11 to the electrical grid 12, to the main controller 32.

At step 132, the measurement device 30 transmits a second plurality of signals indicative of reactive power levels (Qn) at the point of interconnection 19, to the main controller 32.

At step 134, the measurement device 30 transmits a third plurality of signals indicative of voltage levels (Vn) at the point of interconnection 19, to the main controller 32.

At step 136, the main controller 32 receives the first, second, and third plurality of signals and determines a plurality of real power values (Pn), a plurality of reactive power values (Qn), and a plurality of voltage levels (Vn), respectively, therefrom.

At step 138, the main controller 32 estimates at least one parameter associated with the electrical grid 12 utilizing the plurality of real power values (Pn), the plurality of reactive power values (Qn), and the plurality of voltage values (Vn), and a mathematical estimation technique. For example, the parameter values (r, x, and Vg) can be determined utilizing the plurality of real power values (Pn), the plurality of reactive power values (Qn), and the plurality of voltage values (Vn) and the mathematical equations described above.

The inventive system, method, and article of manufacture for controlling operation of a wind farm provide a substantial advantage over other system and methods. In particular, system, method, and article of manufacture provide a technical effect of generating a desired power command to induce the wind farm to have an output parameter at a point of interconnection between the wind farm and the electrical grid that approaches a desired output parameter value.

The above-described methods can be embodied in the form of computer program code containing instructions embodied in tangible media, such as floppy diskettes, CD ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention.

While the invention is described with reference to an exemplary embodiment, it will be understood by those skilled in the art that various changes may be made and equivalence may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to the teachings of the invention to adapt to a particular situation without departing from the scope thereof. Therefore, it is intended that the invention not be limited to the embodiment disclosed for carrying out this invention, but that the invention includes all embodiments falling with the scope of the intended claims. Further, the use of the term's first, second, etc. does not denote any order of importance, but rather the term's first, second, etc. are used to distinguish one element from another. Still further, the use of the terms “at least one” mean one or more of the members of a group. 

1. A method for controlling operation of an electrical power generation system, the electrical power generation system having a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection, the method comprising: obtaining a first output parameter value associated with the electrical power generation system; determining an error value indicative of a difference between the first output parameter value and a desired output parameter value; determining a first gain value based on at least one of the first output parameter value and a time-varying operational parameter of the electrical power generation system, the first gain value determined independently of the error value; determining a first power value based on the error value and the first gain value; determining a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value, the second gain value determined independently of the error value; determining a second power value based on the error value and the second gain value; and generating a desired power command for the electrical power generation system based on the first and second power values.
 2. The method of claim 1, wherein the first output parameter value comprises at least one of a reactive power value, a real power value, a total power value, a power factor, and an output voltage value.
 3. The method of claim 1, wherein the electrical power generation system comprises a wind farm and the plurality of electrical generators comprises a plurality of wind turbines, and the time-varying operational parameter comprises at least one of a number of operational wind turbines in the plurality of wind turbines and an impedance of the electrical grid.
 4. The method of claim 1, wherein the desired power command comprises at least one of a desired reactive power command, a desired real power command, a desired total power command, and a desired power factor command.
 5. The method of claim 1, wherein obtaining the first output parameter value comprises measuring an output parameter of the electrical power generation system at the point of interconnection between the electrical power generation system and the electrical grid to obtain the first output parameter value.
 6. The method of claim 1, further comprising determining the desired output parameter value utilizing at least one of a mathematical model indicative of desired operation of the electrical power generation system and the reference value.
 7. The method of claim 1, further comprising transmitting the desired power command to the electrical power generation system to induce the electrical power generation system to generate an output parameter having an output parameter value that approaches the desired output parameter value.
 8. A system for controlling operation of an electrical power generation system, the electrical power generation system having a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection, the system comprising: a measurement device configured to generate at least a first signal indicative of a measured output parameter value of the electrical power generation system; and a controller operably communicating with the measurement device, the controller configured to determine an error value indicative of a difference between the measured output parameter value and a desired output parameter value, the controller further configured to determine a first gain value based on at least one of the measured output parameter value and a time-varying operational parameter of the electrical power generation system, the first gain value determined independently of the error value, the controller further configured to determine a first power value based on the error value and the first gain value, the controller further configured to determine a second gain value based on at least one of the measured output parameter value, the time-varying operational parameter, and a reference value, the second gain value determined independently of the error value, the controller further configured to determine a second power value based on the error value and the second gain value, the controller further configured to generate a desired power command for the electrical power generation system based on the first and second power values.
 9. The system of claim 8, wherein the measured output parameter value comprises at least one of a reactive power value, a real power value, a total power value, a power factor, and an output voltage value.
 10. The system of claim 8, wherein the electrical power generation system comprises a wind farm and the plurality of electrical generators comprises a plurality of wind turbines, and the time-varying operational parameter comprises at least one of a number of operational wind turbines in the plurality of wind turbines and an impedance of the electrical grid.
 11. The system of claim 8, wherein the desired power command comprises at least one of a desired reactive power command, a desired real power command, a desired total power command, and a power factor command.
 12. The system of claim 8, wherein the controller is further configured to determine the desired output parameter value utilizing at least one of a mathematical model indicative of desired operation of the electrical power generation system and the reference value.
 13. The system of claim 8, wherein the controller is further configured to transmit the desired power command to the electrical power generation system to induce the electrical power generation system to generate an output parameter having an output parameter value that approaches the desired output parameter value.
 14. An article of manufacture, comprising: a computer storage medium having a computer program encoded therein for controlling operation of a electrical power generation system, the electrical power generation system having a plurality of electrical generators electrically coupled to an electrical grid at a point of interconnection, the computer storage medium including: code for obtaining a first output parameter value associated with the electrical power generation system; code for determining an error value indicative of a difference between the first output parameter value and a desired output parameter value; code for determining a first gain value based on at least one of the first output parameter value and a time-varying operational parameter of the electrical power generation system, the first gain value determined independently of the error value; code for determining a first power value based on the error value and the first gain value; code for determining a second gain value based on at least one of the first output parameter value, the time-varying operational parameter, and a reference value, the second gain value determined independently of the error value; code for determining a second power value based on the error value and the second gain value; and code for generating a desired power command for the electrical power generation system based on the first and second power values.
 15. The article of manufacture of claim 14, wherein the first output parameter value comprises at least one of a reactive power value, a real power value, a total power value, a power factor, and an output voltage value.
 16. The article of manufacture of claim 14, wherein the electrical power generation system comprises a wind farm and the plurality of electrical generators comprises a plurality of wind turbines, and the time-varying operational parameter comprises at least one of a number of operational wind turbines in the plurality of wind turbines and an impedance of the electrical grid.
 17. The article of manufacture of claim 14, wherein the desired power command comprises at least one of a desired reactive power command, a desired real power command, a desired total power command, and a power factor command.
 18. The article of manufacture of claim 14, the code for obtaining the first output parameter value comprises code for measuring an output parameter of the electrical power generation system at the point of interconnection between the electrical power generation system and the electrical grid to obtain the first output parameter value.
 19. The article of manufacture of claim 14, wherein the computer storage medium further comprises code for determining the desired output parameter value utilizing at least one of a mathematical model indicative of desired operation of the electrical power generation system and the reference value.
 20. The article of manufacture of claim 14, wherein the computer storage medium further comprises code for transmitting the desired power command to the electrical power generation system to induce the electrical power generation system to generate an output parameter having an output parameter value that approaches the desired output parameter value. 